<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			// 定义一个对象
			var myObject = new Object();
			myObject.name = 'lee';
			console.log(myObject);
			debugger;
			var yourObject = {};
			yourObject.name = 'anonymous';
			alert(yourObject);
			alert(yourObject.name);
			console.log(yourObject);
		</script>
	</head>
	<body>
		<h1>对象</h1>
	</body>
</html>
